import request from '@/utils/request'

export function getDefectTypeTop10(query) {
  return request({
    url: '/cms/defectInfo/getDefectTypeTop10',
    method: 'POST',
    data: query
  })
}

export function getSectionStatistics(query) {
  return request({
    url: '/cms/defectInfo/getSectionStatistics',
    method: 'POST',
    data: query
  })
}

export function getLineStatistics(query) {
  return request({
    url: '/cms/defectInfo/getLineStatistics',
    method: 'POST',
    data: query
  })
}

